package testcases;

public class ForEachTest {
    public static void forEachSample(int[] a) {
        System.out.println("Program for ForEach Conversion");
        for (int x : a) {
            System.out.println(x);
        }

    }

    // Print out the Fibonacci sequence for values < 50
    public static void main(String[] args) {
        int[] a = {1, 2, 3, 4, 5};
        forEachSample(a);
    }
}
